package com.it.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author TBH
 * @date 2025-05-16 11:26:32
 * @desc
 */
@Data
public class NoticeVo implements Serializable {
    private Long id;

    private Long userId;
    private UserVo user;
    private String title;
    private String description;
    private String img;
    private String status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private String createUser;
    private String updateUser;
    private String remark;
    private Boolean deleted;

}
